import { createConnection } from 'typeorm';

export const databaseProviders = [
  {
    provide: 'DATABASE_CONNECTION',
    useFactory: async (conf: any) => {
        // let connect = await createConnection(conf);
        // // console.log(connect)
        // return connect;
        return null;
    },
    inject: ['DATABASE_CONFIGURE']
  },
  
];